package com.pengtu.gsj.service.system;

import java.util.List;
import java.util.Map;

import com.pengtu.gsj.entity.CheckResultVo;
import com.pengtu.gsj.entity.app.Sysmenu;

/** 
 * @author zl 
 * @version 创建时间：2017年4月1日 下午5:20:19 
 * 类说明 
 */
public interface SysmenuManagerService {

	
	public List<Sysmenu> getAll();
	
	public List<Sysmenu> getAllSysmenus();
	
	public List<Sysmenu> getRoadSysmenus();
	
	public List<Sysmenu> getcheckSysmenus();
	
	public List<Sysmenu> findByUserId(String id);
	
	public Sysmenu get(String id);
	
	public void save(Sysmenu entity);
	
	public void delete(String id);
	
	public Sysmenu getTopMenu();
	
	public List<Sysmenu> getByParentIds(String id);
	
	public List<Sysmenu> getByParentId(String id);
	
	public List<String> getIdStrByParentId(String id);
	
	public List<String> getMenuByParentIds(String id);
	
	public boolean isTagUnique(String newTag, String oldTag);
	
	public Sysmenu findSysmenuByTag(String tag);
	
	public String getParentNames(Sysmenu sysmenu);
	
	public Map<String,Sysmenu> getLeastMenu(String parentId,String start,Map<String, Sysmenu> map,Integer length);
	
	public List<Sysmenu> getParentMenusById(String id);
	
	public List<Map<String, Object>> getTableList(String menuIds, String proid);
	
	public  List<Sysmenu> getCheckModule(String projectId);
	
	public List<CheckResultVo> getCheckResultVoByParentId(String projectId, String parentId);

	public String[] arrContrast(String[] arr1,String obj);
	
	public List<Map<String, Object>>getMeunList(String menuId, String projId);
}
